home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / nm.1 < prev    next >
Text File  |  1995-07-25  |  10KB  |  265 lines

  1.  
  2.  
  3.  
  4.      nnnnmmmm((((1111))))           ccccyyyyggggnnnnuuuussss ssssuuuuppppppppoooorrrrtttt ((((5555 NNNNoooovvvveeeemmmmbbbbeeeerrrr 1111999999991111))))            nnnnmmmm((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           nm - list symbols from object files.
  10.  
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           nnnnmmmm   [----aaaa|--------ddddeeeebbbbuuuugggg----ssssyyyymmmmssss] [----gggg|--------eeeexxxxtttteeeerrrrnnnn----oooonnnnllllyyyy] [----BBBB]
  14.                [----CCCC|--------ddddeeeemmmmaaaannnngggglllleeee] [----DDDD|--------ddddyyyynnnnaaaammmmiiiicccc] [----ssss|--------pppprrrriiiinnnntttt----aaaarrrrmmmmaaaapppp]
  15.                [----oooo|--------pppprrrriiiinnnntttt----ffffiiiilllleeee----nnnnaaaammmmeeee] [----nnnn|--------nnnnuuuummmmeeeerrrriiiicccc----ssssoooorrrrtttt]
  16.                [----pppp|--------nnnnoooo----ssssoooorrrrtttt] [----rrrr|--------rrrreeeevvvveeeerrrrsssseeee----ssssoooorrrrtttt] [--------ssssiiiizzzzeeee----ssssoooorrrrtttt]
  17.                [----uuuu|--------uuuunnnnddddeeeeffffiiiinnnneeeedddd----oooonnnnllllyyyy] [--------hhhheeeellllpppp] [--------vvvveeeerrrrssssiiiioooonnnn] [----tttt
  18.                _r_a_d_i_x|--------rrrraaaaddddiiiixxxx====_r_a_d_i_x] [----PPPP|--------ppppoooorrrrttttaaaabbbbiiiilllliiiittttyyyy] [----ffff
  19.                _f_o_r_m_a_t|--------ffffoooorrrrmmmmaaaatttt====_f_o_r_m_a_t] [--------ttttaaaarrrrggggeeeetttt====_b_f_d_n_a_m_e] [_o_b_j_f_i_l_e...]
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.           GNU nnnnmmmm lists the symbols from object files _o_b_j_f_i_l_e.   If  no
  23.           object files are given as arguments, nnnnmmmm assumes `aaaa....oooouuuutttt'.
  24.  
  25.  
  26.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  27.           The long and short forms of options, shown here as  alterna-
  28.           tives, are equivalent.
  29.  
  30.  
  31.           ----AAAA
  32.  
  33.           ----oooo
  34.  
  35.           --------pppprrrriiiinnnntttt----ffffiiiilllleeee----nnnnaaaammmmeeee
  36.                Precede each symbol by the name of the input file where
  37.                it  was  found,  rather than identifying the input file
  38.                once only before all of its symbols.
  39.  
  40.  
  41.           ----aaaa
  42.  
  43.           --------ddddeeeebbbbuuuugggg----ssssyyyymmmmssss
  44.                Display debugger-only symbols; normally these  are  not
  45.                listed.
  46.  
  47.  
  48.           ----BBBB   The same as --------ffffoooorrrrmmmmaaaatttt====bbbbssssdddd (for  compatibility  with  the
  49.                MIPS nnnnmmmm).
  50.  
  51.  
  52.           ----CCCC
  53.  
  54.           --------ddddeeeemmmmaaaannnngggglllleeee
  55.                Decode (_d_e_m_a_n_g_l_e) low-level  symbol  names  into  user-
  56.                level  names.   Besides removing any initial underscore
  57.                prepended by the system, this makes C++ function  names
  58.                readable.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 7/12/95)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      nnnnmmmm((((1111))))           ccccyyyyggggnnnnuuuussss ssssuuuuppppppppoooorrrrtttt ((((5555 NNNNoooovvvveeeemmmmbbbbeeeerrrr 1111999999991111))))            nnnnmmmm((((1111))))
  71.  
  72.  
  73.  
  74.           ----DDDD
  75.  
  76.           --------ddddyyyynnnnaaaammmmiiiicccc
  77.                Display the dynamic symbols rather than the normal sym-
  78.                bols.   This  is  only  meaningful for dynamic objects,
  79.                such as certain types of shared libraries.
  80.  
  81.  
  82.           ----ffff _f_o_r_m_a_t
  83.                Use the output format _f_o_r_m_a_t,  which  can  be  ``bsd'',
  84.                ``sysv'',  or  ``posix''.  The default is `bsd''.  Only
  85.                the first character of _f_o_r_m_a_t is significant; it can be
  86.                either upper or lower case.
  87.  
  88.  
  89.           ----gggg
  90.  
  91.           --------eeeexxxxtttteeeerrrrnnnn----oooonnnnllllyyyy
  92.                Display only external symbols.
  93.  
  94.  
  95.           ----nnnn
  96.  
  97.           ----vvvv
  98.  
  99.           --------nnnnuuuummmmeeeerrrriiiicccc----ssssoooorrrrtttt
  100.                Sort symbols numerically by their addresses, not alpha-
  101.                betically by their names.
  102.  
  103.  
  104.           ----pppp
  105.  
  106.           --------nnnnoooo----ssssoooorrrrtttt
  107.                Don't bother to sort the symbols  in  any  order;  just
  108.                print them in the order encountered.
  109.  
  110.  
  111.           ----PPPP
  112.  
  113.           --------ppppoooorrrrttttaaaabbbbiiiilllliiiittttyyyy
  114.                Use the POSIX.2 standard output format instead  of  the
  115.                default format.  Equivalent to ``-f posix''.
  116.  
  117.  
  118.           ----ssss
  119.  
  120.           --------pppprrrriiiinnnntttt----aaaarrrrmmmmaaaapppp
  121.                When listing symbols from archive members, include  the
  122.                index:  a  mapping (stored in the archive by aaaarrrr or rrrraaaannnn----
  123.                lllliiiibbbb) of  what  modules  contain  definitions  for  what
  124.                names.
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 7/12/95)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      nnnnmmmm((((1111))))           ccccyyyyggggnnnnuuuussss ssssuuuuppppppppoooorrrrtttt ((((5555 NNNNoooovvvveeeemmmmbbbbeeeerrrr 1111999999991111))))            nnnnmmmm((((1111))))
  137.  
  138.  
  139.  
  140.           ----rrrr
  141.  
  142.           --------rrrreeeevvvveeeerrrrsssseeee----ssssoooorrrrtttt
  143.                Reverse the sense of the sort (whether numeric  or  al-
  144.                phabetic); let the last come first.
  145.  
  146.  
  147.           --------ssssiiiizzzzeeee----ssssoooorrrrtttt
  148.                Sort symbols by size.  The  size  is  computed  as  the
  149.                difference  between  the  value  of  the symbol and the
  150.                value of the symbol with the next  higher  value.   The
  151.                size of the symbol is printed, rather than the value.
  152.  
  153.  
  154.           ----tttt _r_a_d_i_x
  155.  
  156.           --------rrrraaaaddddiiiixxxx====_r_a_d_i_x
  157.                Use _r_a_d_i_x as the radix for printing the symbol  values.
  158.                It must be ``d'' for decimal, ``o'' for octal, or ``x''
  159.                for hexadecimal.
  160.  
  161.  
  162.           --------ttttaaaarrrrggggeeeetttt====_b_f_d_n_a_m_e
  163.                 Specify an object code format other than your system's
  164.                default  format.   See  oooobbbbjjjjdddduuuummmmpppp(1111),  for information on
  165.                listing available formats.
  166.  
  167.  
  168.           ----uuuu
  169.  
  170.           --------uuuunnnnddddeeeeffffiiiinnnneeeedddd----oooonnnnllllyyyy
  171.                Display only undefined symbols (those external to  each
  172.                object file).
  173.  
  174.  
  175.           ----VVVV
  176.  
  177.           --------vvvveeeerrrrssssiiiioooonnnn
  178.                Show the version number of nnnnmmmm and exit.
  179.  
  180.  
  181.           --------hhhheeeellllpppp
  182.                Show a summary of the options to nnnnmmmm and exit.
  183.  
  184.  
  185.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  186.           `bbbbiiiinnnnuuuuttttiiiillllssss' entry in iiiinnnnffffoooo; _T_h_e _G_N_U _B_i_n_a_r_y  _U_t_i_l_i_t_i_e_s,  Roland
  187.           H. Pesch (October 1991); aaaarrrr(1111), oooobbbbjjjjdddduuuummmmpppp(1111), rrrraaaannnnlllliiiibbbb(1111).
  188.  
  189.  
  190.  
  191.      CCCCOOOOPPPPYYYYIIIINNNNGGGG
  192.  
  193.  
  194.  
  195.      PPPPaaaaggggeeee 3333                                          ((((pppprrrriiiinnnntttteeeedddd 7777////11112222////99995555))))
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      nnnnmmmm((((1111))))           ccccyyyyggggnnnnuuuussss ssssuuuuppppppppoooorrrrtttt ((((5555 NNNNoooovvvveeeemmmmbbbbeeeerrrr 1111999999991111))))            nnnnmmmm((((1111))))
  203.  
  204.  
  205.  
  206.           Copyright (c) 1991 Free Software Foundation, Inc.
  207.  
  208.           Permission is granted to make and distribute verbatim copies
  209.           of  this  manual provided the copyright notice and this per-
  210.           mission notice are preserved on all copies.
  211.  
  212.           Permission is granted to copy and distribute  modified  ver-
  213.           sions of this manual under the conditions for verbatim copy-
  214.           ing, provided that the entire resulting derived work is dis-
  215.           tributed under the terms of a permission notice identical to
  216.           this one.
  217.  
  218.           Permission is granted to copy and distribute translations of
  219.           this  manual  into  another language, under the above condi-
  220.           tions for modified versions, except that this permission no-
  221.           tice  may  be  included in translations approved by the Free
  222.           Software Foundation instead of in the original English.
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.      Page 4                                          (printed 7/12/95)
  262.  
  263.  
  264.  
  265.